//--------------------------------------------------------------------------------------------------------
// 
// Author: Zachary Gay
// Date: 8/23/2012
// Copyright (c) 2012 Zachary Gay.  All Rights Reserved.
//
// Filename: ManaGroup.m
//
//--------------------------------------------------------------------------------------------------------

#import "ManaGroup.h"

@implementation ManaGroup

@synthesize singleManas, hybridManas;

#pragma mark - Constructors

- (ManaGroup *) initWithSingleManas:(NSMutableArray *)_singleManas andHybridManas:(NSMutableArray *)_hybridManas
{
    if (self = [super init])
    {
        self.singleManas = _singleManas;
        self.hybridManas = _hybridManas;
    }
    
    return self;
}

#pragma mark - Mana Adding and Removing Methods

+ (BOOL) attemptToSubtractManaGroup:(ManaGroup *)_groupBeingSubtracted fromManaGroup:(ManaGroup *)_groupLosingMana
{
#warning Implement Me!
}

+ (void) addManaFromManaGroup: (ManaGroup *) _givingManaGroup toManaGroup: (ManaGroup *) _receivingManaGroup
{
#warning Implement Me!
}

#pragma mark - Convinience Methods

- (int) convertedManaCost
{
    return self.singleManas.count + self.hybridManas.count;
}

@end
